var e = (0, require("../../@babel/runtime/helpers/interopRequireDefault").default)(require("../../kta/index")), t = require("../../config/Links"), a = require("../../utils/YQYL"), o = getApp();

e.default.Page({
    data: {
        isShowBtn: !0,
        imgBaseUrl: t.imageBaseUrl.YQYL2,
        shareUrl: "",
        showPoster: !1,
        poster: null,
        postUtil: {
            handleSharePoster: function() {}
        },
        result: {
            success_count: 0,
            reward_count: 0
        }
    },
    onLoad: function(e) {
        (0, a.initPage)(this, e, "6");
    },
    onShareAppMessage: function() {
        return (0, a.handleShare)(this, "6");
    },
    handlePoster: function() {
        this.data.poster ? this.setData({
            showPoster: !0
        }) : this.data.postUtil.handleSharePoster();
    },
    handleShowModal: function() {
        wx.showModal({
            content: "暂无活动参与资格，感谢您的支持。",
            confirmText: "邀请有礼",
            success: function(e) {
                e.confirm && wx.navigateTo({
                    url: "/pages/YQYL_homePage/index?channel=".concat(o.globalData.aucChannel, "&adtag=").concat(o.globalData.aucChannel)
                });
            }
        });
    },
    closePoster: function() {
        this.setData({
            showPoster: !1
        });
    },
    toRecordPage: function() {
        (0, a.toSpreadRecordPage)();
    },
    toSpreadRulePage: function() {
        (0, a.toSpreadRulePage)();
    }
});